package bitcarve.hydra.ui.assets 
{
	
	import flash.display.Graphics;
	import flash.display.Shape;
	import flash.geom.*;

	public final class AssetWindow extends Shape {
		
		private static const RECT:Rectangle = new Rectangle(20,20,76,76);

		public function AssetWindow():void {
			
			var graphics:Graphics = this.graphics;
			
			graphics.lineStyle(1, 0xa4a4a4, 1, true);
			
 			graphics.beginFill(0x00000);
			graphics.drawRoundRectComplex(0,0,100,100,0,0,2,2);
			graphics.endFill();
	
// 			graphics.beginFill(0x252e34);
//			graphics.drawRoundRectComplex(0,10,100,90,0,0,2,2);
//			graphics.endFill();
//			
//			graphics.beginFill(0x000000);
//			graphics.drawRoundRectComplex(0,0,100,10,2,2,0,0);
//			graphics.endFill(); 
	
			scale9Grid = RECT;
			
			cacheAsBitmap = true;
		}
	}
}